package com.xh.common;
/**
 * @Description: 字符串常量类
 * @author:      ZhangHua
 * @date:        2015-03-11
 */

public class StringConst {
	/** 密钥32位 */
	public static final String PASSWORD_KEY = "Anle0ZongZhi7ShiWeiRenMing2FuWu4";
	
	/** 上传文件根目录  */
	public static final String UPLOAD_ROOTDIRECTORY = "uploadFiles";
	
	/** 上传文件路径的临时文件夹名 */
	public static final String TEMPDIRECTORYNAME = "temp";

	/** xml字符串头部 */
	public static final String XML_HEAD = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
	
	/** 用户session信息 */
	public static final String LOGINUSER_SESSIONINFO = "loginUserInfo";
	
	/** 返回给前端的编码 **/
	/** 操作成功 **/
	public static final String SUCCESS = "success";
	
	/** 操作失败 **/
	public static final String ERROR = "error";
	
	/** 成功代码 */
	public static final String ERROR_CODE_000 = "000";
	
	/** 失败代码 */
	public static final String ERROR_CODE_FAILED = "001";
	
	/** 一般提示性错误码 */
	public static final String ERROR_CODE_002 = "002";
	
	/** 重复登陆错误码 */
	public static final String ERROR_CODE_003 = "003";
	
	/** 程序异常错误码 */
	public static final String ERROR_CODE_005 = "005";
	
	/** 名称重复错误码 */
	public static final String ERROR_CODE_DUPLICATENAME = "101";
	
	/** 日期格式字符串 */
	/** 日期格式：yyyyMMddHHmmss */
	public static final String DATETIMEFORMAT_YYYYMMDDHHMMSS = "yyyyMMddHHmmss";
	
	/** 日期格式：yyyy-MM-dd HH:mm:ss */
	public static final String DATETIMEFORMAT_DEFAULT = "yyyy-MM-dd HH:mm:ss";
	
	/** 日志  **/
	/** 日志类型 **/
	public static final int OTHER = 1000;
	
	public static final int LOGIN = 1001;
	
	public static final int LOGIN_OUT = 1002;
	
	public static final int OPEN_REALVIDEO = 1003;
	
	public static final int CLOSE_REALVIDEO = 1004;
	
	public static final int REALVIDEO = 1005;
	
	public static final int PTZ_CONTROL = 1006;
	
	public static final int MANUAL_RECORDING = 1007;
	
	public static final int MANUAL_CAPTURE = 1008;
	
	public static final int VIDEO_CLIENT = 1009;
	
	public static final int REMOTE_PLAYBACK = 1010;
	
	public static final int REMOTE_PLAYBACK_DOWNLOAD = 1011;
	
	public static final int PRESET_BIT_SET = 1012;
	
	public static final int PRESET_BIT_EXECUTION = 1013;
	
	public static final int PATROLGROUP = 1014;
	
	public static final int OPEN_PATROLGROUP = 1015;
	
	public static final int CLOSE_PATROLGROUP = 1016;
	
	public static final int OPEN_PLANMANAGE = 1017;
	
	public static final int BAYONET_MANAG = 1018;
	
	public static final int PRESETHASPOINT_SELECT=1038;   //这个数据是根据bex_5系统里来的
	
/*	public static final int LOGIN_OUT = 1019;
	public static final int LOGIN_OUT = 1020;
	public static final int LOGIN_OUT = 1021;
	public static final int LOGIN_OUT = 1022;
	public static final int LOGIN_OUT = 1023;
	public static final int LOGIN_OUT = 1024;
	public static final int LOGIN_OUT = 1025;
	public static final int LOGIN_OUT = 1026;
	public static final int LOGIN_OUT = 1027;
	public static final int LOGIN_OUT = 1028;
	public static final int LOGIN_OUT = 1029;
	public static final int LOGIN_OUT = 1030;*/
	public static final int UPDATE_PLANMANAGE = 1031;
	
	public static final int UPDATE_PATROLGROUP = 1034;
	
	public static final int UPDATE_PATROLGROUP_OTHER = 1037;

	/** 客户端来源 **/
	public static final int CLIENT_SRC_ANDROD = 1;
	
	public static final int CLIENT_IPHONE = 2;
	
	public static final int CLIENT_PC = 3;
	
	/** 操作成功/失败类型*/
	public static final int LOG_SUCCSESS = 1;
	
	public static final int LOG_FAILED = 2;
}
